/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* 卡片样式 */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.card-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

/* 表单样式 */
.form-label {
    font-weight: bold;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
}

.btn {
    border-radius: 4px;
    padding: 10px 20px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline-primary {
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-success {
    color: #28a745;
    border: 1px solid #28a745;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
}

/* 新闻样式 */
.news-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.news-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-content {
    font-size: 1rem;
    line-height: 1.7;
}

/* 活动卡片样式 */
.event-card {
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* 分页样式 */
.pagination-btn {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

.pagination-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination-btn:hover {
    background-color: #f0f0f0;
}

/* 自定义按钮样式 */
.btn-custom {
    border-radius: 4px;
    padding: 10px 20px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-custom {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #0056b3;
}

/* 模态框样式 */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    text-align: right;
}

/* 新闻资讯整体区域 */
.main-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白底，适配背景图 */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 新闻资讯标题部分 */
.news-header {
    margin-bottom: 30px;
}
.news-title-main {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.news-english {
    font-size: 14px;
    color: #999;
}

/* 新闻列表容器 */
.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 单个新闻项 */
.news-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.news-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    cursor: pointer; /* 鼠标悬停变手型，可根据是否跳转调整 */
    transition: color 0.3s ease;
}
.news-title:hover {
    color: #007bff;
}
.news-author {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}
.news-date-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-date {
    font-size: 14px;
    color: #666;
}
.arrow-icon {
    font-size: 16px;
    color: #999;
}